package com.evaluation.kexingcp.psycho.evaluation.sys.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 团体报告模版表
 *
 * @author pig
 * @date 2024-09-06 16:27:49
 */
@TableName("evaluation_team_report_templates")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "团体报告模版表")
public class EvaluationTeamReportTemplatesEntity extends Model<EvaluationTeamReportTemplatesEntity> {


	/**
	* 到期时间
	*/
    @Schema(description="到期时间")
    private LocalDate templateExpireTime;

	/**
	* 是否默认模版
	*/
    @Schema(description="是否默认模版")
    private Boolean templateIsDefault;

	/**
	* 模版类型
	*/
    @Schema(description="模版类型")
    private String templateType;

	/**
	* 是否收费
	*/
    @Schema(description="是否收费")
    private Boolean templateIsFree;

	/**
	* 模版名称
	*/
    @Schema(description="模版名称")
    private String templateName;

	/**
	* 模版地址
	*/
    @Schema(description="模版地址")
    private String templateUrl;

	/**
	* 价格
	*/
    @Schema(description="价格")
    private Integer templatePrice;

	/**
	* 主键
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="主键")
    private Long id;

	/**
	* 创建人
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建人")
    private String createBy;

	/**
	* 创建时间
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建时间")
    private LocalDateTime createTime;

	/**
	* 修改人
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="修改人")
    private String updateBy;

	/**
	* 修改时间
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="修改时间")
    private LocalDateTime updateTime;

	/**
	* 删除标记
	*/
    @TableLogic
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="删除标记")
    private String delFlag;

	@TableField(fill = FieldFill.INSERT_UPDATE)
	@Schema(description="模版预览地址")
	private String templatePreviewUrl;

	public LocalDate getTemplateExpireTime() {
		return templateExpireTime;
	}

	public void setTemplateExpireTime(LocalDate templateExpireTime) {
		this.templateExpireTime = templateExpireTime;
	}

	public Boolean getTemplateIsDefault() {
		return templateIsDefault;
	}

	public void setTemplateIsDefault(Boolean templateIsDefault) {
		this.templateIsDefault = templateIsDefault;
	}

	public String getTemplateType() {
		return templateType;
	}

	public void setTemplateType(String templateType) {
		this.templateType = templateType;
	}

	public Boolean getTemplateIsFree() {
		return templateIsFree;
	}

	public void setTemplateIsFree(Boolean templateIsFree) {
		this.templateIsFree = templateIsFree;
	}

	public String getTemplateName() {
		return templateName;
	}

	public void setTemplateName(String templateName) {
		this.templateName = templateName;
	}

	public String getTemplateUrl() {
		return templateUrl;
	}

	public void setTemplateUrl(String templateUrl) {
		this.templateUrl = templateUrl;
	}

	public Integer getTemplatePrice() {
		return templatePrice;
	}

	public void setTemplatePrice(Integer templatePrice) {
		this.templatePrice = templatePrice;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public LocalDateTime getCreateTime() {
		return createTime;
	}

	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public LocalDateTime getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(LocalDateTime updateTime) {
		this.updateTime = updateTime;
	}

	public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public String getTemplatePreviewUrl() {
		return templatePreviewUrl;
	}

	public void setTemplatePreviewUrl(String templatePreviewUrl) {
		this.templatePreviewUrl = templatePreviewUrl;
	}
}